Shopglut\tools\miniCart\MiniCart C

Total Complexity 125
Dependencies 0
Dependents 2
Total lines 1,003
Lines of code 795
Logical lines of code 315
Comment lines 70
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
get_cart_contents_html()
B
36 16 87
ajax_send_cart_email()
A
49 12 27
maybe_restore_shared_cart()
A
48 11 33
get_cart_footer_html()
A
46 10 40
getSettings()
A
41 7 53
ajax_update_cart_quantity()
A
49 8 28
ajax_add_to_cart()
A
50 8 27
generate_dynamic_css()
A
35 1 122
ajax_remove_cart_item()
A
49 7 31
add_cart_to_menu()
S
51 7 29
renderMainDashboard()
S
43 1 99
render_mini_cart_html()
S
51 5 29
ajax_generate_share_url()
S
51 5 26
maybe_initialize_mini_cart()
S
52 3 24
generate_cart_email_html()
S
52 3 23
ajax_get_nonce()
S
59 3 14
enqueue_mini_cart_assets()
S
51 2 25
get_cart_icon_html()
S
65 3 10
ajax_get_mini_cart()
S
58 2 15
ajax_update_mini_cart()
S
60 2 13
render_mini_cart_shortcode()
S
66 2 8
render_cart_share_shortcode()
S
66 2 8
get_instance()
S
69 2 7
__construct()
S
66 1 8
renderMiniCartContent()
S
82 1 3
generate_session_token()
S
69 1 6